<?php
/*
	获取活动详情
	电商客商品列表页和商品详情页会调用本方法以获得商品详情
*/
defined('BY_JYA') or exit('error');
list($goods_id,$group_id,$optionid)=$arguments;
$group=pdo_get('jy_aligroup_groups',array('id'=>$group_id,'uniacid'=>$_SESSION['uniacid']),array('id','goodsid','single','singleprice'));
if($group['id']){
  $group['price']=$group['singleprice'];
}
return $group;